package org.caenv.webapp.components.beans;

import org.richfaces.model.TreeNodeImpl;

public class TreeMenuBean extends TreeNodeImpl {

	private static final long serialVersionUID = -2822373990781296549L;
	private final String value;
	private final String url;
	
	public TreeMenuBean (String value, String url, boolean isLeaf) {
		super(isLeaf);
		this.value = value;
		this.url = url;
	}
	
	public TreeMenuBean () {
		this("", "", false);
	}

	public String getValue() {
		return value;
	}

	public String getUrl() {
		return url;
	}
	
}
